package com.panshi.tools;

import java.util.Date;

/***
 * 查询 咨询
 */
public class AppEssay {

    /***
     *咨询 id
     */
    private int essayId;

    /***
     *分类id
     */
    private int classifyId;

    /***
     *用户id
     */
    private int userId;

    /***
     *资讯标题
     */
    private String essayTitle;

    /***
     *咨迅大纲
     */
    private String essaySynopsis;

    /***
     *上架时间
     */
    private Date groundTime;

    /***
     *图片路径
     */
    private String imgPath;

    /***
     *评论
     */
    private String commentCount;

    /***
     *阅读量
     */
    private String readCount;

    /***
     *收藏量
     */
    private String collectCount;

    /***
     *是否置顶: y是; n否
     */
    private String essayIsTop;


    /***
     * 时间差
     */
    private String time;



    public String getTime() {
        return time;
    }

    public void setTime(String time) {
        this.time = time;
    }

    public int getEssayId() {
        return essayId;
    }

    public void setEssayId(int essayId) {
        this.essayId = essayId;
    }

    public int getClassifyId() {
        return classifyId;
    }

    public void setClassifyId(int classifyId) {
        this.classifyId = classifyId;
    }

    public int getUserId() {
        return userId;
    }

    public void setUserId(int userId) {
        this.userId = userId;
    }

    public String getEssayTitle() {
        return essayTitle;
    }

    public void setEssayTitle(String essayTitle) {
        this.essayTitle = essayTitle;
    }

    public String getEssaySynopsis() {
        return essaySynopsis;
    }

    public void setEssaySynopsis(String essaySynopsis) {
        this.essaySynopsis = essaySynopsis;
    }

    public Date getGroundTime() {
        return groundTime;
    }

    public void setGroundTime(Date groundTime) {
        this.groundTime = groundTime;
    }

    public String getImgPath() {
        return imgPath;
    }

    public void setImgPath(String imgPath) {
        this.imgPath = imgPath;
    }

    public String getCommentCount() {
        return commentCount;
    }

    public void setCommentCount(String commentCount) {
        this.commentCount = commentCount;
    }

    public String getReadCount() {
        return readCount;
    }

    public void setReadCount(String readCount) {
        this.readCount = readCount;
    }

    public String getCollectCount() {
        return collectCount;
    }

    public void setCollectCount(String collectCount) {
        this.collectCount = collectCount;
    }

    public String getEssayIsTop() {
        return essayIsTop;
    }

    public void setEssayIsTop(String essayIsTop) {
        this.essayIsTop = essayIsTop;
    }

    @Override
    public String toString() {
        return "AppEssay{" +
                "essayId=" + essayId +
                ", classifyId=" + classifyId +
                ", userId=" + userId +
                ", essayTitle='" + essayTitle + '\'' +
                ", essaySynopsis='" + essaySynopsis + '\'' +
                ", groundTime=" + groundTime +
                ", imgPath='" + imgPath + '\'' +
                ", commentCount='" + commentCount + '\'' +
                ", readCount='" + readCount + '\'' +
                ", collectCount='" + collectCount + '\'' +
                ", essayIsTop='" + essayIsTop + '\'' +
                ", time='" + time + '\'' +
                '}';
    }
}
